using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace MusicEvolution.Database
{
	public class Album : DataBaseRow
	{
		DataField _Name;
		DataField _Artist;		

		public string Name
		{
			get
			{
                return _Name.Value;
			}
			set
			{
                _Name.Value = value;
			}
		}

		public long Artist
		{
			get
			{
                return Convert.ToInt64(_Artist.Value);
			}
			set
			{
                _Artist.Value = value.ToString();
			}
		}

        public Album()
        {
            _Artist = new DataField("Artist", "");
            _Name = new DataField("Name", "");

            base.Add(_Artist);
            base.Add(_Name);
        }
    }
}
